const Api = {
    // 客户模块
    login: { name: 'login', type: 'post', url: '/login' }, // 登录
    captcha: { name: 'captcha', type: 'post', url: '/captcha' }, // 获取登录短信验证码
    // 文件上传
    uploadFile: { name: 'uploadFile', type: 'upload', url: '/upload/picture' },
    // 用户模块
    userUpdate: { name: 'userUpdate', type: 'post', url: '/user/update' }, // 任务详情接口
    userObject: { name: 'userObject', type: 'post', url: '/user/object' }, // 任务详情接口
    // 统计模块
    totalProject: { name: 'totalProject', type: 'post', url: '/total/project' }, // 签单统计接口
    totalContract: { name: 'totalContract', type: 'post', url: '/total/contract' }, // 合同统计接口
    // 菜单模块
    contractTotalMenu: { name: 'contractTotalMenu', type: 'post', url: '/menu/contractTotal' }// 合同统计菜单
}

export { Api }
